<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head> 
    <meta charset="UTF-8">
    <%@ include file="/WEB-INF/views/include/head.jsp"%>
    <link rel="stylesheet" href="${ctxStatic}/css/common_erp.css">
    <link rel="stylesheet" href="${ctxStatic}/css/layerSm.css"> 
    <script type="text/javascript">
    
    //删除方法
    function delDict(){
          // 调用后台删除方法
        $.post("${ctx}/database/message/delete?id=${dict.id}&&oldItemValue=${dict.oldItemValue}",'',function(result){
             // 提示信息
             tipParent(result.message);
             // 返回状态
            if(result.statusCode==STATUSCODEOK){
                 // 刷新页面
                window.parent.frames[0].location.reload();
                 // 关闭页面
                closeWin(); 
             }
        },'json');
   }
   </script>
   
    </head>
	<body>
	<!-- 创建页面head部 -->
	<div id="editPage" class="layerHeader clearfix">
    	<p class="headerTitle"><spring:message code="dict_showDict"/></p>
			<div class="headerButton clearfix">
            <!-- 取消 -->
            <button type="button" onclick="closeWin()"><spring:message code="btn_cancle"/></button>          
	    </div>
	</div>
<div id="showHtml">
	<div class="smList">
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 数据代码 -->
				<p class="tit">
					<spring:message code="dict_itemCode_show"/>
				</p>
				<p>${dict.itemCode}</p>
			</div>
			
			<div class="col-50 right clearfix">
				<!-- 数据值 -->
				<p class="tit">
					<spring:message code="dict_itemValue_show"/>
				</p>
				<p>${dict.itemValue}</p>
			</div>
		</div>
	        
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 数据中文名称 -->
				<p class="tit">
					<spring:message code="dict_itemNameCn_show" />
				</p>
				<p>${dict.itemNameCn}</p>
			</div>
			
			<div class="col-50 right clearfix">
				<!-- 数据中文略称 -->
				<p class="tit">
					<spring:message code="dict_itemShortNameCn_show" />
				</p>
				<p>${dict.itemShortNameCn}</p>
			</div>
		</div>
	        
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 数据英文名称 -->
				<p class="tit">
					<spring:message code="dict_itemNameEn_show" />
				</p>
				<p>${dict.itemNameEn}</p>
			</div>
			<div class="col-50 right clearfix">
				<!-- 数据英文略称 -->
				<p class="tit">
					<spring:message code="dict_itemShortNameEn_show" />
				</p>
				<p>${dict.itemShortNameEn}</p>
			</div>
		</div>
	        
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 数据日文名称 -->
				<p class="tit">
					<spring:message code="dict_itemNameJp_show" />
				</p>
				<p>${dict.itemNameJp}</p>
			</div>
			<div class="col-50 right clearfix">  
				<!-- 数据日文略称 -->
				<p class="tit">
					<spring:message code="dict_itemShortNameJp_show" />
				</p>
				<p>${dict.itemShortNameJp}</p>
			</div>
		</div>
	        
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 序号 -->
				<p class="tit">
					<spring:message code="dict_itemSort_show" />
				</p>
				<p>${dict.itemSort}</p>
			</div>
		</div>
	        
		<div class="items clearfix">
			<div class="col-50 clearfix">
				<!-- 状态 -->
				<p class="tit"><spring:message code="statue_describe"/></p>
				<p class="rtname fl">
				<c:choose>
					<c:when test="${dict.enableFlag eq 1}"><spring:message code="dict_enable"/></c:when>
				</c:choose>
				<c:choose>
					<c:when test="${dict.enableFlag eq 0}"><spring:message code="dict_disable"/></c:when>
				</c:choose>
				</p>
			</div>
		
		</div>
		<div class="items clearfix">
				<!-- 描述 -->
				<p class="tit">
					<spring:message code="describe_remark" />
				</p>
				<p>${dict.remarks}</p>
			
		</div>
	</div>
</div>
</body>
</html>